package com.mall.pojo;

import lombok.Data;

import javax.persistence.Id;
import javax.persistence.Table;
import java.io.Serializable;

/**
 * @author: bamboo_shoot on 20/5/22
 * @description: 创建规格类
 */
@Data
@Table(name = "tb_spec")
public class Spec implements Serializable {

    /**
     * Id
     *
     * @param:
     * @return:
     */
    @Id
    private Integer id;
    private String name;
    /**
     * 规格选项
     *
     * @param:
     * @return:
     */
    private String options;
    /**
     * 排序
     *
     * @param:
     * @return:
     */
    private Integer seq;
    /**
     * 模板id
     *
     * @param:
     * @return:
     */
    private Integer templateId;

}
